package org.theonept.travian.model;

import org.theonept.travian.t4a.R;

public enum EnumTroupeRomain {
	LEGIONAIRE("u1", R.drawable.romain1, EnumTypeUnite.INFANTERIE), PRETORIAN(
			"u2", R.drawable.romain2, EnumTypeUnite.INFANTERIE), IMPERIAN("u3",
			R.drawable.romain3, EnumTypeUnite.INFANTERIE), EQUITES_LEGATI("u4",
			R.drawable.romain4, EnumTypeUnite.CAVALERIE), EQUITES_IMPERATORIS(
			"u5", R.drawable.romain5, EnumTypeUnite.CAVALERIE), EQUITES_CAESARIS(
			"u6", R.drawable.romain6, EnumTypeUnite.CAVALERIE), BELIER("u7",
			R.drawable.romain7, EnumTypeUnite.SIEGE), CATAPULTE_DE_FEU("u8",
			R.drawable.romain8, EnumTypeUnite.SIEGE), SENATEUR("u9",
			R.drawable.romain9, EnumTypeUnite.GOUVERNEMENT), COLON("u10",
			R.drawable.romain10, EnumTypeUnite.GOUVERNEMENT), HERO("uhero",
			R.drawable.hero, null);
	private String code;
	private int idImage;
	private String libele;
	private EnumTypeUnite typeUnite;

	private EnumTroupeRomain(String code, int idImage,
			EnumTypeUnite enumTypeUnite) {
		this.setTypeUnite(enumTypeUnite);
		this.code = code;
		this.setIdImage(idImage);

	}

	/**
	 * @return the libele
	 */
	public String getLibele() {
		return libele;
	}

	/**
	 * @param libele
	 *            the libele to set
	 */
	public void setLibele(String libele) {
		this.libele = libele;
	}

	/**
	 * @return the idImage
	 */
	public int getIdImage() {
		return idImage;
	}

	/**
	 * @param idImage
	 *            the idImage to set
	 */
	public void setIdImage(int idImage) {
		this.idImage = idImage;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the typeUnite
	 */
	public EnumTypeUnite getTypeUnite() {
		return typeUnite;
	}

	/**
	 * @param typeUnite
	 *            the typeUnite to set
	 */
	public void setTypeUnite(EnumTypeUnite typeUnite) {
		this.typeUnite = typeUnite;
	}

}
